<?php
/**
 * 第三方登录处理，参考文档 https://github.com/laravel/socialite/tree/2.0
 */

namespace App\Http\Controllers\Api;

use Laravel\Socialite\Facades\Socialite;

class OauthController extends Controller
{
    public function facebook(){
        return Socialite::driver('facebook')->stateless()->redirect();
    }

    public function callback(){
        
    }
}
